import Vue from 'vue'
import App from './App.vue'
import 'echarts';
import ECharts from 'vue-echarts';
Vue.component('ECharts', ECharts);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入element-ui(按需引入)
Vue.use(ElementUI);
import {Option, Button, Select,Table,TableColumn,ButtonGroup,Input,Row,Col,Container,Pagination,Header,Dialog,Main,Footer,FormItem,} from 'element-ui';
Vue.use(Button)
Vue.use(Option)
Vue.use(Select)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(ButtonGroup)
Vue.use(Input)
Vue.use(Row)
Vue.use(Col)
Vue.use(Container)
Vue.use(Pagination)
Vue.use(Header)
Vue.use(Dialog)
Vue.use(Main)
Vue.use(Footer)
Vue.use(FormItem)





import router from '@/router'

import {reqEmployee} from '@/api'
reqEmployee();

import store from './store'

Vue.config.productionTip = false

new Vue({
  router, 
  store,
  render: h => h(App),
}).$mount('#app')
